<template>
  <div class="registerSuccess">
    <div class="register-header">
      <div class="register-header-top">

      </div>
      <div class="register-inner-header-text">
        <ul>
          <li>选择注册类型</li>
          <li>填写资料</li>
          <li>注册成功</li>
        </ul>
      </div>
    </div>
    <div class="content">
      <div class="success-info">
        <i class="success"></i>
        <p>注册成功！感谢您成为Smart PTM用户</p>
      </div>
    </div>
    <div class="next-btn" @click="toLogin">返回登录</div>
  </div>
</template>

<script>
  export default {
    name: "RegisterSuccess",
    methods:{
      toLogin(){
        this.$router.push({path: '/login'})
      }
    }
  }
</script>

<style scoped type="text/scss" lang="scss">
  .registerSuccess {
    width: 1200px;
    height: 850px;
    background-color: #FFFFFF;
    padding-top: 50px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    .register-header{
      width: 1000px;
      margin: 0 auto;
      padding-bottom: 40px;
      border-bottom: 1px solid #eeeeee;
      .register-header-top{
        background-image: url("../../assets/img/register/step3_03.png");
        width: 580px;
        height: 36px;
        background-position: center;
        background-size: cover;
        margin: 0 auto;
      }
      .register-inner-header-text {
        width: 580px;
        height: 36px;
        margin: 0 auto;
        font-size: 16px;
        color: #7392AD;
        ul {
          overflow: hidden;
          padding-top: 20px;
          text-align: left;

          li {
            list-style: none;
            float: left;
          }

          li:nth-child(1) {
            width: 212px;
          }

          li:nth-child(2) {
            width: 212px;
            padding-left: 45px;
          }

          li:nth-child(3) {
            width: 127px;
            text-align: right;
          }

        }
      }
    }
    .content {
      padding-top: 152px;
      .success-info {
        text-align: center;
        width: 356px;
        margin: 0 auto;
        position: relative;
        padding-left: 43px;
        box-sizing: border-box;

        .success {
          position: absolute;
          left: 0;
          top: -5px;
          width: 32px;
          height: 32px;
          background-image: url("../../assets/img/register/success_icon.png");
          background-position: center;
          background-size: cover;
        }

        > p {
          display: inline-block;
          color: #333333;
          font-size: 18px;
        }
      }

    }
    .next-btn {
      width: 268px;
      height: 56px;
      line-height: 56px;
      text-align: center;
      background: #1192FA;
      color: #ffffff;
      font-size: 20px;
      margin: 0 auto;
      border-radius: 6px;
      cursor: pointer;
      margin-top: 80px;
    }
  }
</style>
